package com.ssy.lingxi.after.sale.model.vo.request;

import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Positive;
import java.io.Serializable;

/**
 *  退货：中止售后
 * @author ds
 * @date 2021/8/17
 * @version 2.0.0
 */
public class ReturnGoodsStopVO implements Serializable {

    private static final long serialVersionUID = -7602158921723821737L;
    /**
     * 数据id
     */
    @NotNull(message = "数据id要大于0")
    @Positive(message = "数据id要大于0")
    private Long dataId;

    /**
     * 中止原因
     */
    @NotBlank(message = "中止原因不能为空")
    @Length(max = 100,message = "字符长度不能超过100")
    private String remark;

    public Long getDataId() {
        return dataId;
    }

    public void setDataId(Long dataId) {
        this.dataId = dataId;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }
}
